#region Summary 

// 
// Owner : JackieHan 
// 
// Solution : LearnSolution 
// 
// Project : JackieHan.DotNet.ExtensionMethods 
// 
// File : TestClass.cs 
// 
// CopyRight : Copyright © 2009-2010 JackieHan Personal, All Rights Reserved 
// 
// Summary : 测试类 
// 
// History : 
//			2010-05-19 15:41:39	    Create 
// 

#endregion

#region Using 

using System;
using System.Collections.Generic;
using NUnit.Framework;
using JackieHan.DotNet.ExtensionMethods;
#endregion

namespace JackieHan.DotNet.ExtensionMethods.ExtensionMethodName
{
    /// <summary> 
    /// 测试类 
    /// </summary> 
    [TestFixture]
    public class TestClass
    {
        /// <summary>
        /// 测试某类定义了扩展方法一样的方法的情况
        /// </summary>
        /// <remarks>
        /// 这种情况下扩展方法就不起作用，类的同名方法优先级比较高
        /// </remarks>
        [Test]
        public void Test()
        {
            HasExtensionMethodClass @class = new HasExtensionMethodClass();
            @class.Print();
        }
    }
}
